﻿using Core.Combat.FlyerObj;
using UnityEngine;

namespace Core.Combat.CoreModule
{
    public class BulletFireCoreModule : BulletCoreModuleBase
    {
        public BulletFireCoreModule(Bullet obj) : base(obj)
        {
        }


        public void SetFireInfo(Vector3 pos, Vector3 dir)
        {
            CtrlObj.position = pos;
            Vector3 fireDir = dir.normalized;
            CtrlObj.up = fireDir;
        }
    }
}